import request from '@/router/axios'

export function getScreenIndex(obj) {
  return request({
    url: '/api/screen/index',
    method: 'post',
    data: obj
  })
}

export function getPageIndex(obj) {
  return request({
    url: '/api/screen/getanalysedata',
    method: 'post',
    data: obj
  })
}

export function getMapIndex(obj) {
  return request({
    url: '/api/screen/getiptocity',
    method: 'post',
    data: obj
  })
}

export function getUserData(obj) {
  return request({
    url: '/api/screen/getuserlist',
    method: 'post',
    data: obj
  })
}


export function getVipNum(obj) {
  return request({
    url: '/api/screen/getuserdata',
    method: 'post',
    data: obj
  })
}

export function useractive_rank(obj) {
  return request({
    url: '/api/screen/useractive_rank',
    method: 'post',
    data: obj
  })
}

export function getiptoprovince(obj) {
  return request({
    url: '/api/screen/getiptoprovince',
    method: 'post',
    data: obj
  })
}

export function province_summary(obj) {
  return request({
    url: 'http://yqbb.xzcs2022.com/api/yqbb/province_summary',
    method: 'post',
    data: obj
  })
}

export function store_summary(obj) {
  return request({
    url: 'http://yqbb.xzcs2022.com/api/yqbb/store_summary',
    method: 'post',
    data: obj
  })
}

export function dealer_summary(obj) {
  return request({
    url: 'http://yqbb.xzcs2022.com/api/yqbb/dealer_summary',
    method: 'post',
    data: obj
  })
}

export function screen_login(obj) {
  return request({
    url: 'http://yqbb.xzcs2022.com/api/yqbb/screen_login',
    method: 'post',
    data: obj
  })
}

